﻿@model AddressModel
@using Logistics.Web.Models.Common;
<div class="name">
    @Model.FirstName @Model.LastName
</div>

<div class="address-field">
    @if (!String.IsNullOrEmpty(Model.Address2))
    {
        @Model.Address2
    }

    @Model.Address1
</div>
<div class="city-state">
    @Model.City, @Model.StateProvinceName
    
</div>
@if (!String.IsNullOrEmpty(Model.CountryName))
{
    <div class="zip-country">
        @Model.ZipPostalCode, @Model.CountryName
    </div>
}
@if (!String.IsNullOrEmpty(Model.Email))
{
    <div class="email">
        @Model.Email
    </div>
}
@if (!String.IsNullOrEmpty(Model.CellPhoneNumber))
{
    <div class="phone">
        @Html.LabelFor(model => model.CellPhoneNumber): @Model.CellPhoneNumber
    </div>
}
@if (!String.IsNullOrEmpty(Model.PhoneNumber))
{
    <div class="phone">
        @Html.LabelFor(model => model.PhoneNumber): @Model.PhoneNumber
    </div>
}